/*
 ***************************************************************************************
 *  Copyright (C) 2006 EsperTech, Inc. All rights reserved.                            *
 *  http://www.espertech.com/esper                                                     *
 *  http://www.espertech.com                                                           *
 *  ---------------------------------------------------------------------------------- *
 *  The software in this package is published under the terms of the GPL license       *
 *  a copy of which has been included with this distribution in the license.txt file.  *
 ***************************************************************************************
 */
package com.espertech.esper.regressionlib.support.bookexample;

import java.io.Serializable;

public class BookDesc implements Serializable {
    private final String bookId;
    private final String title;
    private final String author;
    private final double price;
    private final Review[] reviews;

    public BookDesc(String bookId, String title, String author, double price, Review[] reviews) {
        this.author = author;
        this.bookId = bookId;
        this.title = title;
        this.price = price;
        this.reviews = reviews;
    }

    public String getAuthor() {
        return author;
    }

    public String getBookId() {
        return bookId;
    }

    public String getTitle() {
        return title;
    }

    public Review[] getReviews() {
        return reviews;
    }

    public double getPrice() {
        return price;
    }
}
